<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>
 
<jsFileName><!--fckeditor/fckeditor.js;js/My97DatePicker/WdatePicker.js--></jsFileName>
<s:form id="add_pubDqgz_form" name="add_pubDqgz_form" method="post" action="pubDqgz/save.do" enctype="multipart/form-data" onsubmit="return false;">
	<s:hidden id="istop" name="istop" value="0"/>
	<table class="form-table">
		<tr>
			<th width="150">标题：</th>
			<td>
			<s:textfield key="bt" title="请输入标题" cssClass="form-txtinput" id="bt" size="40" maxlength="100" value="%{model.zt}"/>
			</td>
		</tr>
		<tr>
			<th width="150">主题：</th>
			<td>
			<%--
			<s:textfield key="zt" title="请输入主题" cssClass="form-txtinput" id="zt" size="40" maxlength="100" value="%{model.zt}"/>
			--%>
			<mytag:select id="zt" title="请输入主题" name="zt" sql="basedata" isSql="false" condition="161" dataType="Long" listKey="id" listValue="name" headerKey="" headerValue="请选择" onChange="Ext.milan.pagejs.page_pubDqgz.changeJl(this)"/>
			
			</td>
		</tr>
		<tr>
			<th width="150">类别：</th>
			<td>
			<%--
			<s:textfield key="lb" title="请输入类别" cssClass="form-txtinput" id="lb" size="40" maxlength="100" value="%{model.lb}"/>
			--%>
			
				
				<select id="lb" name="lb"></select>
			
			</td>
		</tr>
		
		<tr>
			<th width="150">发布时间：</th>
			<td>
			<s:textfield key="fbsj" title="请输入发布时间" cssClass="form-txtinput" id="fbsj" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" maxlength="20" value="%{model.fbsj}" checkEmpty="true" checkDesc="发布时间"/>
			</td>
		</tr>
		<tr>
			<th width="150">类型：</th>
			<td>
			<s:select  key="type" id="type"  list="#{'':'--请选择--','1':'动态','2':'知识'}" ></s:select>
			</td>
		</tr>
		<%--<tr>
			<th width="150">发布部门：</th>
			<td>
			<s:textfield key="fbbm" title="请输入发布部门" cssClass="form-txtinput" id="fbbm" maxlength="20" value="%{model.fbbm}" checkEmpty="true" checkDesc="发布部门"/>
			</td>
		</tr>
		--%>
		<tr>
          <th align="right">内容：</th>
          <td align="left" valign="top">
            <textarea id="content" name="content" rows="28"	style="width: 100%">${content}</textarea>
          </td>
        </tr>
	
	</table>
	<div class="win-btn-panel">
	    <a class="btn_short" class="btn_short" href="javascript:void(0)" 
			onclick="Ext.milan.pagejs.page_pubDqgz.save('add_pubDqgz_form')">确 定</a>
		<a class="btn_short" class="btn_short" href="javascript:void(0)" 
			onclick="Ext.milan.pagejs.page_pubDqgz.closeWin(false);">取 消</a>
	</div>
</s:form>
<script type="text/javascript"> 
//初始化文本编辑器
var oFCKeditor = new FCKeditor('content');
oFCKeditor.BasePath = '${ctx}/fckeditor/';
oFCKeditor.Height =300;
oFCKeditor.ReplaceTextarea();


</script>


